dxp-ux

(0 reviews)

GET logicalResource (TMF 639)

This endpoint validates the phone number and returns if the phone number is active or not.

URL
http://[localhost]:[port]/dxp-ux/v1/{businessId}/logicalResource
URL PARAMS
nametypedescriptionrequired
businessIdstring2 letter ISO 3166 country code (PA) identifying the business unit.Y
Headers
nametypedescriptionrequired
client_idstringThe client_id identifying the channel.Y
client_secretstringPassword associated with the client_id.Y
X-Correlation-IDstringIdentifier that correlates HTTP request between a client and server. Any identification model (UUDI, checksum, etc.) can be used, as long as it is a unique value to differentiate a transaction.Y
Query Params
nametypedescriptionrequired (mandatory-Y, optional-N, Not applicable- N/A)
@typestringType of logical resource
Possible Value for PA: MSISDN
Y
valuestringThe value of the logical resource
Example: '50769877689'
Y
limitintegerRequested number of resources to be provided in response
Example: 1
Y
Data Model - Response
field nametypedescriptionrequired (mandatory-Y, optional-N, Not applicable- N/A)
idstringUnique identifier of the logicalResourceY (PA)
hrefstringReference to the logicalResourceY (PA)
namestringName of the resourceY (PA)
descriptionstringdescription of the resourceY (PA)
valuestringvalue of the logical resourceY (PA)
categorystringIndicates the category of the numberY (PA)
administrativeStatestringA resource administrative state type such as NoState,
Active,
Administrative,
Aging,
Available,
HoldForLoading,
HoldForOrderCompletion,
HoldForOrderCompletion_OverLimit,
HoldForOrderSubmission,
Reserved,
WaitingPurge,
HoldForSelection,
OnIntercept,
Donated,
PortedOut,
Reserved_OverLimit,
Resold_Carrier,
Resold_NonCarrierAssigned,
Resold_NonCarrierUnassigned,
Barred,
TestNumbers,
Employee_OfficialNumbers,
LocationRoutingNumbers,
TemporaryLocalDirectoryNumbers,
ESRD_ESRK
Y (PA)
resourceStatusstringA resource status type such as standby,reserved, suspended, active, availableY (PA)
operationalStatestringA resource operational state type such as enable, disable .Y (PA)
note[]arrayExtra information about a given entityY (PA)
note[].textstringText of the noteY (PA)
resourceCharacteristic[]arrayDescribes a given characteristic of an object or entity through a name/value pair.Y (PA)
resourceCharacteristic[].namestringName of the characteristicY (PA)
resourceCharacteristic[].valueTypestringData type of the value of the characteristicY (PA)
resourceCharacteristic[].valueanyThe value of the characteristicY (PA)
resourceRelationship[]arrayLinked resources to the one instantiateY (PA)
resourceRelationship[].relationshipTypestringrelationship type of the resources.
Here it is "reliesOn"
Y (PA)
resourceRelationship[].resourceobjectResource is an abstract entity that describes the common set of attributes shared by all concrete resources.Y (PA)
resourceRelationship[].resource.idstringIdentifier of an instance of the resource.Y (PA)
resourceRelationship[].resource.descriptionstringdescription of the resourceY (PA)
@typestringWhen sub-classing, this defines the sub-class Extensible nameY (PA)
resourceCharacteristic subResource - dataModel
resource characteristic nametypedescriptionrequired(mandatory-Y, optional-N, Not applicable- N/A)examples
PortDetailsarrayIt provides details of the port such as port type, foreign number status, and previous service providerY (PA)PA:
[ { "name": "portOldSp", "valueType": "string", "value": "198"},
{ "name": "portType","valueType": "string", "value": "NotPorted" },
{"name": "foreignNumber", "valueType": "boolean","value": "N" }]
DataTypestringSpecifies the type of data plan associated with the numberY (PA)PA:
{
"name": "DataType",
"valueType": "string",
"value": "PREPAID"
}
Dealer CodestringIndicates the dealer code assigned to the number by the service providerY (PA)PA: {
"name": "Dealer Code",
"valueType": "string",
"value": "52"
}
Number CategorystringIndicates the category of the numberY (PA)PA: {
"name": "Number Category",
"valueType": "string",
"value": "Normal"
}
SERVICEstringIndicates whether the current service is Prepaid or PostpaidY (PA)PA: {
"name": "SERVICE",
"valueType": "string",
"value": "PREPAID"
}
SDPstringIndicates the Service Data Point (SDP) responsible for service management or ratingY (PA)PA: {
"name": "SDP",
"valueType": "string",
"value": "01"
}
SERVICE-ORIGINALstringIndicates the original service type at the time of provisioning or activationY (PA)PA: {
"name": "SERVICE-ORIGINAL",
"valueType": "string",
"value": "PREPAID"
}
PREPAID-DEALERstringIndicates the name or type of dealer originally associated with prepaid activationY (PA)PA: {
"name": "PREPAID-DEALER",
"valueType": "string",
"value": "General"
}
RECYCLEstringIndicates whether the number is part of the number recycling processY (PA)PA: {
"name": "RECYCLE",
"valueType": "string",
"value": "Y"
}

Note: The list of resourceCharacteristics completely depends on the TNM system response. Whatever userDataList retrieved from TNM system are mapped in the resource characteristics.

resourceCharacteristic[].name=='PortDetails' subResource - dataModel
nametypedescriptionrequired (mandatory-Y, optional-N, Not applicable- N/A)examples
portOldSpstringThe old service provider ID or codeY (PA)PA: {
"name": "portOldSp",
"valueType": "string",
"value": "198"
}
portTypestringIndicates the type of portY (PA)PA: {
"name": "portType",
"valueType": "string",
"value": "NotPorted"
}
foreignNumberstringIndicates whether this number is native to the
service provider or belongs to another
provider.
Y (PA)PA: {
"name": "foreignNumber",
"valueType": "boolean",
"value": "N"
}
Key considerations
PA Implementation
  • This is implemented for mobile prepaid and postpaid customers.
  • The '@type' input query parameter should be "MSISDN".
  • The 'value' (MSISDN/ServiceNo) input query parameter should be provided with BU code(507). Example: 50769877689
  • The 'limit' input query parameter should always be "1".
  • The list of resourceCharacteristics in the response varies based on the userDataType, userDataValue fields retrieved in userDataList from TNM system response.
  • Please refer the responses in following URL DXP UX API - list logicalResource

Reviews